package org.lendoo.web.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

/**
 * HistoryCart的vo类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "HistoryCartVo", description = "HistoryCart的vo类")
public class HistoryCartVo {
    @ApiModelProperty(value = "主键", dataType = "Integer")
    private Integer id;

    @ApiModelProperty(value = "购物车记录id", dataType = "Integer")
    private Integer cartId;

    @ApiModelProperty(value = "用户id", dataType = "Integer")
    private Integer userId;

    @ApiModelProperty(value = "商品id", dataType = "Integer")
    private Integer goodsId;

    @ApiModelProperty(value = "数量", dataType = "Integer")
    private Integer quantity;

    @ApiModelProperty(value = "是否被选中。1表示被选中，0表示未被选中", dataType = "Integer")
    private Integer selected;

    @ApiModelProperty(value = "创建时间", dataType = "Date")
    private Date createTime;

    @ApiModelProperty(value = "更新时间", dataType = "Date")
    private Date updateTime;

    @ApiModelProperty(value = "归档时间", dataType = "Date")
    private Date archiveTime;

    @ApiModelProperty(value = "页数", dataType = "Integer")
    private Integer pageNo;

    @ApiModelProperty(value = "每页数量", dataType = "Integer")
    private Integer pageSize;
}